<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.2-20121118"/>
<title>SensorFramework: saxion.sensorframework.ClientProcessor Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SensorFramework
   &#160;<span id="projectnumber">1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2-20121118 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="a00031.html">saxion</a></li><li class="navelem"><a class="el" href="a00032.html">sensorframework</a></li><li class="navelem"><a class="el" href="a00001.html">ClientProcessor</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pac-static-attribs">Static Package Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="a00041.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">saxion.sensorframework.ClientProcessor Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Classe for processing client request/task.  
 <a href="a00001.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for saxion.sensorframework.ClientProcessor:</div>
<div class="dyncontent">
<div class="center"><img src="a00042.png" border="0" usemap="#saxion_8sensorframework_8_client_processor_coll__map" alt="Collaboration graph"/></div>
<map name="saxion_8sensorframework_8_client_processor_coll__map" id="saxion_8sensorframework_8_client_processor_coll__map">
<area shape="rect" title=" ~logger" alt="" coords="77,81,85,89"/><area shape="rect" title=" ~logger" alt="" coords="120,580,128,588"/><area shape="rect" href="a00003.html" title="The Data Acces Object wich contains all data queries that will be executed by SqlConnect." alt="" coords="119,149,332,485"/><area shape="rect" title=" ~logger" alt="" coords="116,81,124,89"/><area shape="rect" title=" ~logger" alt="" coords="145,145,153,153"/><area shape="rect" title=" &#45;properties" alt="" coords="384,353,392,361"/><area shape="rect" title=" &#45;properties" alt="" coords="305,545,313,553"/><area shape="rect" title=" &#45;daoSensor" alt="" coords="221,481,229,489"/><area shape="rect" title=" &#45;daoSensor" alt="" coords="221,545,229,553"/></map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aebfd7d51ae1953b771e8fbcc11162b37"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html#aebfd7d51ae1953b771e8fbcc11162b37">ClientProcessor</a> (Properties <a class="el" href="a00001.html#af543297133a6a6f3c6edb7c8716433d3">properties</a>)</td></tr>
<tr class="separator:aebfd7d51ae1953b771e8fbcc11162b37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a982c196b63114ded06436a390e25ea42"><td class="memItemLeft" align="right" valign="top">File&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html#a982c196b63114ded06436a390e25ea42">getSensors</a> ()</td></tr>
<tr class="memdesc:a982c196b63114ded06436a390e25ea42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get sensors from database.  <a href="#a982c196b63114ded06436a390e25ea42"></a><br/></td></tr>
<tr class="separator:a982c196b63114ded06436a390e25ea42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e7560ea630691d98a01f38633f2cd6b"><td class="memItemLeft" align="right" valign="top">File&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html#a5e7560ea630691d98a01f38633f2cd6b">getSensorDataFields</a> (int sensorId)</td></tr>
<tr class="memdesc:a5e7560ea630691d98a01f38633f2cd6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get sensor data fields from database.  <a href="#a5e7560ea630691d98a01f38633f2cd6b"></a><br/></td></tr>
<tr class="separator:a5e7560ea630691d98a01f38633f2cd6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a37b5711a12331f0d81e19821af4c5a"><td class="memItemLeft" align="right" valign="top">File&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html#a9a37b5711a12331f0d81e19821af4c5a">getSensorData</a> (int sensorId)</td></tr>
<tr class="memdesc:a9a37b5711a12331f0d81e19821af4c5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get sensor data.  <a href="#a9a37b5711a12331f0d81e19821af4c5a"></a><br/></td></tr>
<tr class="separator:a9a37b5711a12331f0d81e19821af4c5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21ff593b140baa80d3c512922ffb5ffe"><td class="memItemLeft" align="right" valign="top">File&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html#a21ff593b140baa80d3c512922ffb5ffe">getSensorData</a> (int sensorId, long minimum, long maximum)</td></tr>
<tr class="memdesc:a21ff593b140baa80d3c512922ffb5ffe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get sensor data.  <a href="#a21ff593b140baa80d3c512922ffb5ffe"></a><br/></td></tr>
<tr class="separator:a21ff593b140baa80d3c512922ffb5ffe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pac-static-attribs"></a>
Static Package Attributes</h2></td></tr>
<tr class="memitem:a8ac84d1150b3abf77b0b5f5bff3d5c77"><td class="memItemLeft" align="right" valign="top">static Logger&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html#a8ac84d1150b3abf77b0b5f5bff3d5c77">logger</a> = Logger.getLogger(ClientProcessor.class.getName())</td></tr>
<tr class="memdesc:a8ac84d1150b3abf77b0b5f5bff3d5c77"><td class="mdescLeft">&#160;</td><td class="mdescRight">logger  <a href="#a8ac84d1150b3abf77b0b5f5bff3d5c77"></a><br/></td></tr>
<tr class="separator:a8ac84d1150b3abf77b0b5f5bff3d5c77"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a218a60142d5415500aaccceb5d213a07"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html#a218a60142d5415500aaccceb5d213a07">initialize</a> ()</td></tr>
<tr class="memdesc:a218a60142d5415500aaccceb5d213a07"><td class="mdescLeft">&#160;</td><td class="mdescRight">initialize variables  <a href="#a218a60142d5415500aaccceb5d213a07"></a><br/></td></tr>
<tr class="separator:a218a60142d5415500aaccceb5d213a07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8adb78985b5bbf3266c2a71e85215261"><td class="memItemLeft" align="right" valign="top">File&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html#a8adb78985b5bbf3266c2a71e85215261">createSensorDataXml</a> (int sensorId, ResultSet resultset)</td></tr>
<tr class="memdesc:a8adb78985b5bbf3266c2a71e85215261"><td class="mdescLeft">&#160;</td><td class="mdescRight">create xml document with sensor data  <a href="#a8adb78985b5bbf3266c2a71e85215261"></a><br/></td></tr>
<tr class="separator:a8adb78985b5bbf3266c2a71e85215261"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:af543297133a6a6f3c6edb7c8716433d3"><td class="memItemLeft" align="right" valign="top">Properties&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html#af543297133a6a6f3c6edb7c8716433d3">properties</a></td></tr>
<tr class="memdesc:af543297133a6a6f3c6edb7c8716433d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Properties file.  <a href="#af543297133a6a6f3c6edb7c8716433d3"></a><br/></td></tr>
<tr class="separator:af543297133a6a6f3c6edb7c8716433d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06a9c735e5ec7e3844a8d2452565c3b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00003.html">DaoSensor</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html#a06a9c735e5ec7e3844a8d2452565c3b8">daoSensor</a></td></tr>
<tr class="memdesc:a06a9c735e5ec7e3844a8d2452565c3b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">DaoSensor used for database connection.  <a href="#a06a9c735e5ec7e3844a8d2452565c3b8"></a><br/></td></tr>
<tr class="separator:a06a9c735e5ec7e3844a8d2452565c3b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fab1e6fa74351ffa2f0dc8d2bee55ee"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html#a7fab1e6fa74351ffa2f0dc8d2bee55ee">sensorDataXmlLocation</a></td></tr>
<tr class="memdesc:a7fab1e6fa74351ffa2f0dc8d2bee55ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Location for xml file's containing sensor data.  <a href="#a7fab1e6fa74351ffa2f0dc8d2bee55ee"></a><br/></td></tr>
<tr class="separator:a7fab1e6fa74351ffa2f0dc8d2bee55ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa758e5d036364abdb82fda8b235adf08"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html#aa758e5d036364abdb82fda8b235adf08">sensorDataId</a> = 0</td></tr>
<tr class="memdesc:aa758e5d036364abdb82fda8b235adf08"><td class="mdescLeft">&#160;</td><td class="mdescRight">id for sensor data xml documents  <a href="#aa758e5d036364abdb82fda8b235adf08"></a><br/></td></tr>
<tr class="separator:aa758e5d036364abdb82fda8b235adf08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ee13dbd4b410987678e32861a88d7bc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html#a2ee13dbd4b410987678e32861a88d7bc">sensorsId</a> = 0</td></tr>
<tr class="memdesc:a2ee13dbd4b410987678e32861a88d7bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">id for sensors xml documents  <a href="#a2ee13dbd4b410987678e32861a88d7bc"></a><br/></td></tr>
<tr class="separator:a2ee13dbd4b410987678e32861a88d7bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad72e14c7d0bbdb714fefd57549bd6d87"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00001.html#ad72e14c7d0bbdb714fefd57549bd6d87">sensorsFieldId</a> = 0</td></tr>
<tr class="memdesc:ad72e14c7d0bbdb714fefd57549bd6d87"><td class="mdescLeft">&#160;</td><td class="mdescRight">id for sensors data fields xml documents  <a href="#ad72e14c7d0bbdb714fefd57549bd6d87"></a><br/></td></tr>
<tr class="separator:ad72e14c7d0bbdb714fefd57549bd6d87"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Classe for processing client request/task. </p>
<dl class="section author"><dt>Author</dt><dd>Erik &amp; Martijn </dd></dl>

<p>Definition at line <a class="el" href="a00016_source.html#l00035">35</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aebfd7d51ae1953b771e8fbcc11162b37"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">saxion.sensorframework.ClientProcessor.ClientProcessor </td>
          <td>(</td>
          <td class="paramtype">Properties&#160;</td>
          <td class="paramname"><em>properties</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">properties</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="a00016_source.html#l00050">50</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00001_aebfd7d51ae1953b771e8fbcc11162b37_cgraph.png" border="0" usemap="#a00001_aebfd7d51ae1953b771e8fbcc11162b37_cgraph" alt=""/></div>
<map name="a00001_aebfd7d51ae1953b771e8fbcc11162b37_cgraph" id="a00001_aebfd7d51ae1953b771e8fbcc11162b37_cgraph">
<area shape="rect" href="a00001.html#a218a60142d5415500aaccceb5d213a07" title="initialize variables" alt="" coords="260,5,463,48"/></map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a8adb78985b5bbf3266c2a71e85215261"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">File saxion.sensorframework.ClientProcessor.createSensorDataXml </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sensorId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ResultSet&#160;</td>
          <td class="paramname"><em>resultset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>create xml document with sensor data </p>
<p>Creates custom xml document containing the sensor data.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sensorId</td><td></td></tr>
    <tr><td class="paramname">resultset</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>xml document </dd></dl>

<p>Definition at line <a class="el" href="a00016_source.html#l00258">258</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00001_a8adb78985b5bbf3266c2a71e85215261_icgraph.png" border="0" usemap="#a00001_a8adb78985b5bbf3266c2a71e85215261_icgraph" alt=""/></div>
<map name="a00001_a8adb78985b5bbf3266c2a71e85215261_icgraph" id="a00001_a8adb78985b5bbf3266c2a71e85215261_icgraph">
<area shape="rect" href="a00001.html#a9a37b5711a12331f0d81e19821af4c5a" title="Get sensor data." alt="" coords="271,39,473,81"/><area shape="rect" href="a00002.html#a0a3dd93a64a51a70684449caa7b7fdfb" title="get sensor data." alt="" coords="547,5,765,48"/><area shape="rect" href="a00002.html#af1792c53e335aeeac935bac5dd89cf63" title="get sensor data." alt="" coords="523,72,789,115"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a9a37b5711a12331f0d81e19821af4c5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">File saxion.sensorframework.ClientProcessor.getSensorData </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sensorId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get sensor data. </p>
<p>get all the sensor information form database and write to xml document.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sensorId</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>xml document </dd></dl>

<p>Definition at line <a class="el" href="a00016_source.html#l00205">205</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00001_a9a37b5711a12331f0d81e19821af4c5a_cgraph.png" border="0" usemap="#a00001_a9a37b5711a12331f0d81e19821af4c5a_cgraph" alt=""/></div>
<map name="a00001_a9a37b5711a12331f0d81e19821af4c5a_cgraph" id="a00001_a9a37b5711a12331f0d81e19821af4c5a_cgraph">
<area shape="rect" href="a00003.html#a8bd3a8829c96ebe691b63be43291159b" title="Returns all the data of a specific sensor." alt="" coords="260,5,473,48"/><area shape="rect" href="a00001.html#a8adb78985b5bbf3266c2a71e85215261" title="create xml document with sensor data" alt="" coords="259,72,475,115"/><area shape="rect" href="a00003.html#acd55af2a210d1f28920f42558a75c3cf" title="Get the datatable name." alt="" coords="523,5,736,48"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00001_a9a37b5711a12331f0d81e19821af4c5a_icgraph.png" border="0" usemap="#a00001_a9a37b5711a12331f0d81e19821af4c5a_icgraph" alt=""/></div>
<map name="a00001_a9a37b5711a12331f0d81e19821af4c5a_icgraph" id="a00001_a9a37b5711a12331f0d81e19821af4c5a_icgraph">
<area shape="rect" href="a00002.html#a0a3dd93a64a51a70684449caa7b7fdfb" title="get sensor data." alt="" coords="283,5,501,48"/><area shape="rect" href="a00002.html#af1792c53e335aeeac935bac5dd89cf63" title="get sensor data." alt="" coords="259,72,525,115"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a21ff593b140baa80d3c512922ffb5ffe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">File saxion.sensorframework.ClientProcessor.getSensorData </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sensorId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>minimum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>maximum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get sensor data. </p>
<p>get sensor data limited by minium and maxium value. writes data to xml document.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sensorId</td><td></td></tr>
    <tr><td class="paramname">minimum</td><td></td></tr>
    <tr><td class="paramname">maximum</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>xml document </dd></dl>

<p>Definition at line <a class="el" href="a00016_source.html#l00232">232</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00001_a21ff593b140baa80d3c512922ffb5ffe_cgraph.png" border="0" usemap="#a00001_a21ff593b140baa80d3c512922ffb5ffe_cgraph" alt=""/></div>
<map name="a00001_a21ff593b140baa80d3c512922ffb5ffe_cgraph" id="a00001_a21ff593b140baa80d3c512922ffb5ffe_cgraph">
<area shape="rect" href="a00003.html#afe0fa27278448052d4255fc9b3ecb3c4" title="Get specific data of a sensor between two Timestamp&#39;s." alt="" coords="259,5,485,48"/><area shape="rect" href="a00001.html#a8adb78985b5bbf3266c2a71e85215261" title="create xml document with sensor data" alt="" coords="264,72,480,115"/><area shape="rect" href="a00003.html#acd55af2a210d1f28920f42558a75c3cf" title="Get the datatable name." alt="" coords="533,5,747,48"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a5e7560ea630691d98a01f38633f2cd6b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">File saxion.sensorframework.ClientProcessor.getSensorDataFields </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sensorId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get sensor data fields from database. </p>
<p>Get sensor data field from the database and write information to xml document.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sensorId</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>xml document location </dd></dl>

<p>Definition at line <a class="el" href="a00016_source.html#l00142">142</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00001_a5e7560ea630691d98a01f38633f2cd6b_cgraph.png" border="0" usemap="#a00001_a5e7560ea630691d98a01f38633f2cd6b_cgraph" alt=""/></div>
<map name="a00001_a5e7560ea630691d98a01f38633f2cd6b_cgraph" id="a00001_a5e7560ea630691d98a01f38633f2cd6b_cgraph">
<area shape="rect" href="a00003.html#a14ba74caccde5492a3c11a2a321600f2" title="Gets the data columns of a Sensor." alt="" coords="269,5,485,48"/><area shape="rect" href="a00005.html#ab8d1283f48252c4af2dd354110581938" title="Sets the name of the DataStruc." alt="" coords="265,72,489,115"/><area shape="rect" href="a00005.html#a3d36831816017fcd643d77a6d7d26b52" title="Set the type of the DataStruc The following types can be used &#45;string &#45;boolean &#45;double &#45;datetime..." alt="" coords="265,139,489,181"/><area shape="rect" href="a00006.html#a6c4efd6e3c79b2ced953c8315473e019" title="Set the Id of the Sensor." alt="" coords="265,205,489,248"/><area shape="rect" href="a00006.html#aeb49167d34c93be7b180ed83ea41b437" title="Set the Datastructure of the Sensor." alt="" coords="265,272,489,315"/><area shape="rect" href="a00003.html#acd55af2a210d1f28920f42558a75c3cf" title="Get the datatable name." alt="" coords="539,5,752,48"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00001_a5e7560ea630691d98a01f38633f2cd6b_icgraph.png" border="0" usemap="#a00001_a5e7560ea630691d98a01f38633f2cd6b_icgraph" alt=""/></div>
<map name="a00001_a5e7560ea630691d98a01f38633f2cd6b_icgraph" id="a00001_a5e7560ea630691d98a01f38633f2cd6b_icgraph">
<area shape="rect" href="a00002.html#a56ec40ffab46ffed973864b8cf27cf66" title="get the sensor datafield" alt="" coords="264,5,520,48"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a982c196b63114ded06436a390e25ea42"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">File saxion.sensorframework.ClientProcessor.getSensors </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get sensors from database. </p>
<p>*get sensors from database and write informatie to xml document.</p>
<dl class="section return"><dt>Returns</dt><dd>Sensor in xml document </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">JAXBException</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="a00016_source.html#l00081">81</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00001_a982c196b63114ded06436a390e25ea42_cgraph.png" border="0" usemap="#a00001_a982c196b63114ded06436a390e25ea42_cgraph" alt=""/></div>
<map name="a00001_a982c196b63114ded06436a390e25ea42_cgraph" id="a00001_a982c196b63114ded06436a390e25ea42_cgraph">
<area shape="rect" href="a00003.html#ae355f406a70b4a812812da846948f4fe" title="Get all sensors." alt="" coords="265,5,479,48"/><area shape="rect" href="a00006.html#a6c4efd6e3c79b2ced953c8315473e019" title="Set the Id of the Sensor." alt="" coords="260,72,484,115"/><area shape="rect" href="a00006.html#a341e9e81128620d21ebd716dfb20e75f" title="Set the name of the Sensor." alt="" coords="260,139,484,181"/><area shape="rect" href="a00006.html#ab1ec68d17fb8b2fd6a23339eaa5f8eb3" title="Set the description of the Sensor." alt="" coords="260,205,484,248"/><area shape="rect" href="a00009.html#a3f319bc61888ec2aedfc4bd7577b0031" title="Set the ArrayList&lt;Sensor&gt; of the class Sensors." alt="" coords="260,272,484,315"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00001_a982c196b63114ded06436a390e25ea42_icgraph.png" border="0" usemap="#a00001_a982c196b63114ded06436a390e25ea42_icgraph" alt=""/></div>
<map name="a00001_a982c196b63114ded06436a390e25ea42_icgraph" id="a00001_a982c196b63114ded06436a390e25ea42_icgraph">
<area shape="rect" href="a00002.html#aee8d0ff49c8e16a75ac229c938aa3151" title="Get sensors from database." alt="" coords="259,5,475,48"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a218a60142d5415500aaccceb5d213a07"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void saxion.sensorframework.ClientProcessor.initialize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>initialize variables </p>
<p>Create dao sensor </p>

<p>Definition at line <a class="el" href="a00016_source.html#l00061">61</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00001_a218a60142d5415500aaccceb5d213a07_icgraph.png" border="0" usemap="#a00001_a218a60142d5415500aaccceb5d213a07_icgraph" alt=""/></div>
<map name="a00001_a218a60142d5415500aaccceb5d213a07_icgraph" id="a00001_a218a60142d5415500aaccceb5d213a07_icgraph">
<area shape="rect" href="a00001.html#aebfd7d51ae1953b771e8fbcc11162b37" title="saxion.sensorframework.Client\lProcessor.ClientProcessor" alt="" coords="260,5,463,48"/></map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a06a9c735e5ec7e3844a8d2452565c3b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00003.html">DaoSensor</a> saxion.sensorframework.ClientProcessor.daoSensor</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>DaoSensor used for database connection. </p>

<p>Definition at line <a class="el" href="a00016_source.html#l00039">39</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>

</div>
</div>
<a class="anchor" id="a8ac84d1150b3abf77b0b5f5bff3d5c77"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Logger saxion.sensorframework.ClientProcessor.logger = Logger.getLogger(ClientProcessor.class.getName())</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>logger </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00007.html#a42d5b539b22c0fca51cc3a1842d83e03" title="log4j used for logging.">SensorFramework::logger</a> </dd></dl>

<p>Definition at line <a class="el" href="a00016_source.html#l00037">37</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>

</div>
</div>
<a class="anchor" id="af543297133a6a6f3c6edb7c8716433d3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Properties saxion.sensorframework.ClientProcessor.properties</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Properties file. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00007.html#aac1ff53e11fae2bfd0192afe1bd2c5fd" title="Properties file.">SensorFramework::properties</a> </dd></dl>

<p>Definition at line <a class="el" href="a00016_source.html#l00038">38</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>

</div>
</div>
<a class="anchor" id="aa758e5d036364abdb82fda8b235adf08"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int saxion.sensorframework.ClientProcessor.sensorDataId = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>id for sensor data xml documents </p>

<p>Definition at line <a class="el" href="a00016_source.html#l00042">42</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>

</div>
</div>
<a class="anchor" id="a7fab1e6fa74351ffa2f0dc8d2bee55ee"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String saxion.sensorframework.ClientProcessor.sensorDataXmlLocation</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Location for xml file's containing sensor data. </p>

<p>Definition at line <a class="el" href="a00016_source.html#l00040">40</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>

</div>
</div>
<a class="anchor" id="ad72e14c7d0bbdb714fefd57549bd6d87"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int saxion.sensorframework.ClientProcessor.sensorsFieldId = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>id for sensors data fields xml documents </p>

<p>Definition at line <a class="el" href="a00016_source.html#l00044">44</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>

</div>
</div>
<a class="anchor" id="a2ee13dbd4b410987678e32861a88d7bc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int saxion.sensorframework.ClientProcessor.sensorsId = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>id for sensors xml documents </p>

<p>Definition at line <a class="el" href="a00016_source.html#l00043">43</a> of file <a class="el" href="a00016_source.html">ClientProcessor.java</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/saxion/sensorframework/<a class="el" href="a00016_source.html">ClientProcessor.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Feb 1 2013 11:25:00 for SensorFramework by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.2-20121118
</small></address>
</body>
</html>
